package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author cpf
 *
 */
@ApiModel(value = "Customer对象", description = "")
public class Customer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String customerId;

    @ApiModelProperty("客户头像")
    private String customerImg;

    @ApiModelProperty("客户姓名")
    private String customerName;

    @ApiModelProperty("客户性别")
    private String customerSex;

    @ApiModelProperty("客户电话1")
    private String customerPhone;

    @ApiModelProperty("客户电话2")
    private String customerPhone2;

    @ApiModelProperty("客户状态")
    private String customerStatus;

    @ApiModelProperty("客户等级")
    private String customerLevel;

    @ApiModelProperty("增加日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("修改日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    public Integer getId() {
       return id;
    }


    public void setId(Integer id) {
        this.id = id;
    }


    public String getCustomerId() {
       return customerId;
    }


    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }


    public String getCustomerImg() {
       return customerImg;
    }


    public void setCustomerImg(String customerImg) {
        this.customerImg = customerImg;
    }


    public String getCustomerName() {
       return customerName;
    }


    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }


    public String getCustomerSex() {
       return customerSex;
    }


    public void setCustomerSex(String customerSex) {
        this.customerSex = customerSex;
    }


    public String getCustomerPhone() {
       return customerPhone;
    }


    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone;
    }


    public String getCustomerPhone2() {
       return customerPhone2;
    }


    public void setCustomerPhone2(String customerPhone2) {
        this.customerPhone2 = customerPhone2;
    }


    public String getCustomerStatus() {
       return customerStatus;
    }


    public void setCustomerStatus(String customerStatus) {
        this.customerStatus = customerStatus;
    }


    public String getCustomerLevel() {
       return customerLevel;
    }


    public void setCustomerLevel(String customerLevel) {
        this.customerLevel = customerLevel;
    }


    public Date getCreateTime() {
       return createTime;
    }


    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public Date getUpdateTime() {
       return updateTime;
    }


    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }



    @Override
    public String toString() {
        return "Customer{" +
        "id=" + id +
        ", customerId=" + customerId +
        ", customerImg=" + customerImg +
        ", customerName=" + customerName +
        ", customerSex=" + customerSex +
        ", customerPhone=" + customerPhone +
        ", customerPhone2=" + customerPhone2 +
        ", customerStatus=" + customerStatus +
        ", customerLevel=" + customerLevel +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
